/**
 * User: Obi
 * Date: 14.08.11
 * Time: 20:47
 */
package com.jediflasher.game_client.events.view {
	import flash.events.Event;

	public class WorldViewEvent extends Event {

		public static const CHARACTER_MOVE:String = "characterMove";

		public function WorldViewEvent(type:String, data:Object = null, bubbles:Boolean = false, cancelable:Boolean = false) {
			super(type, bubbles, cancelable);
			this._data = data;
		}

		/**
		 * @private
		 */
		private var _data:Object;

		public function get data():Object {
			return this._data;
		}

		override public function clone():Event {
			return new WorldViewEvent(type, this._data, bubbles, cancelable);
		}
	}
}
